import Vue from 'vue'
import Router from 'vue-router'
//import HelloWorld from '@/components/HelloWorld'
import Home from '@/pages/Home'
import show from '@/pages/show'
import testpage from '@/pages/testpage'
import collect from '@/pages/collect'
import Sidebar from '@/components/Sidebar'

Vue.use(Router)

export default new Router({
    routes: [
        {
            path: '/',
            component: Sidebar,
            children: [
                {
                    path: '/Home',
                    component: Home
                },
                {
                    path: '/show',
                    component: show
                },
		{
		    path: '/testpage',
		    component: testpage
		},
		{
		    path:'/collect',
		    component:collect
		}
            ]
        }
    ]
})
